#include "G4VUserPrimaryGeneratorAction.hh"

#include <G4Event.hh>
#include <G4ParticleGun.hh>

class RICHPrimaryGeneratorAction: public G4VUserPrimaryGeneratorAction {
public:
	RICHPrimaryGeneratorAction();
	~RICHPrimaryGeneratorAction();

	void GeneratePrimaries(G4Event*);

private:
	double getCosmicMomentum(double randFlat);

	G4ParticleGun* rayGun;
};
